from .admin_routes import admin_bp
from .admin_swiper_routes import admin_swiper_bp
from .admin_product_routes import admin_product_bp
from .api_routes import api_bp


from .product_api import product_api_bp

def register_blueprints(app):


    app.register_blueprint(admin_bp, url_prefix='/admin')
    app.register_blueprint(admin_swiper_bp, url_prefix='/admin/swiper')
    app.register_blueprint(admin_product_bp, url_prefix='/admin/product')

    app.register_blueprint(product_api_bp, url_prefix='/api/product')
    app.register_blueprint(api_bp, url_prefix='/api')